package com.hsogoo.collate.mapper;

import com.hsogoo.collate.domain.CollateRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author huangsaigang
 * Created @2019-10-29.
 */
public interface CollateRecordMapper {

    Long addCollateRecord(CollateRecord record);

    CollateRecord getCollateRecord(@Param("taskName") String taskName,
                                   @Param("collateDate") String collateDate,
                                   @Param("collateFile") String collateFile);

    List<CollateRecord> getCollateRecords();

}
